Skip to content

Conversation

@graycreate
Copy link
Member

Problem

The iOS Release Pipeline is failing with the error:

Could not find option 'export_compliance_uses_encryption' in the list of available options

Root Cause

The Fastlane upload_to_testflight action only accepts uses_non_exempt_encryption for export compliance configuration. The export_compliance_* parameters are not valid options.

Solution

Removed all invalid export_compliance_* parameters:

  • export_compliance_uses_encryption
  • export_compliance_is_exempt
  • export_compliance_platform
  • export_compliance_compliance_required
  • export_compliance_app_type
  • export_compliance_encryption_updated
  • export_compliance_contains_third_party_cryptography

Kept only the valid parameter:

  • uses_non_exempt_encryption: false

Testing

This fix will allow the TestFlight upload to complete successfully. The Info.plist already contains ITSAppUsesNonExemptEncryption = false which handles the export compliance at the binary level.

Related

- Remove export_compliance_uses_encryption (invalid parameter)
- Remove export_compliance_is_exempt (invalid parameter)
- Remove export_compliance_platform (invalid parameter)
- Remove export_compliance_compliance_required (invalid parameter)
- Remove export_compliance_app_type (invalid parameter)
- Remove export_compliance_encryption_updated (invalid parameter)
- Remove export_compliance_contains_third_party_cryptography (invalid parameter)
- Keep only uses_non_exempt_encryption (valid parameter)

The upload_to_testflight action only accepts uses_non_exempt_encryption
for export compliance, not the export_compliance_* parameters.
Copilot AI review requested due to automatic review settings October 19, 2025 02:19
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes a critical Fastlane configuration issue that was causing the iOS release pipeline to fail during TestFlight uploads. The problem stemmed from using invalid export_compliance_* parameters that are not supported by the upload_to_testflight action.

Key Changes:

  • Removed all invalid export_compliance_* parameters from the Fastfile
  • Retained only the valid uses_non_exempt_encryption: false parameter
  • Simplified the export compliance configuration to use only supported options

@github-actions
Copy link

Code Coverage Report ❌

Current coverage: 19.54%

@graycreate
Copy link
Member Author

Closing this PR in favor of #65 which provides a more complete solution by reverting to the stable Oct 10 configuration.

@graycreate graycreate closed this Oct 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants